Document that root and unroot must chain up
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Feb 2019 14:19:14 +0000 (09:19 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Feb 2019 14:43:57 +0000 (09:43 -0500)
I overlooked this at first.

gtk/gtkwidget.h

index be8a413544084d2aaaf5ae3c7255047a0ddc9bb8..db4a81272cedceb54f7f41c9fff77084f8b34145 100644 (file)
@@ -152,9 +152,8 @@ struct _GtkWidget
  *   widget is destroyed, which means that gtk_widget_unrealize() has
  *   been called or the widget has been unmapped (that is, it is going
  *   to be hidden).
- * @root: Called when the widget gets added to a #GtkRoot widget.
- * @unroot: Called when the widget is about to be removed from its
- *   #GtkRoot widget.
+ * @root: Called when the widget gets added to a #GtkRoot widget. Must chain up
+ * @unroot: Called when the widget is about to be removed from its #GtkRoot widget. Must chain up
  * @size_allocate: Signal emitted to get the widget allocation.
  * @state_flags_changed: Signal emitted when the widget state changes,
  *   see gtk_widget_get_state_flags().